package com.lanou.pianke.piece.web.entity;

public class Piece {
    private Long id;
    private String pieceid;
    private Long uid;
    private Long pieceaddtime;
    private Long tagid;
    private String text;
    private String pieceimg;
    private Integer secret;
    private Integer pieceheight;
    private Integer piecewidth;
    private Integer piecehot;
    private Integer pcomments;
    private Integer piece_status;
    private Integer pieceReport;

    public Piece() {
    }

    public Piece(String pieceid, Long uid) {
        this.pieceid = pieceid;
        this.uid = uid;
    }

    @Override
    public String toString() {
        return "Piece{" +
                "id=" + id +
                ", pieceid='" + pieceid + '\'' +
                ", uid=" + uid +
                ", pieceaddtime=" + pieceaddtime +
                ", tagid=" + tagid +
                ", text='" + text + '\'' +
                ", pieceimg='" + pieceimg + '\'' +
                ", secret=" + secret +
                ", pieceheight=" + pieceheight +
                ", piecewidth=" + piecewidth +
                ", piecehot=" + piecehot +
                ", pcomments=" + pcomments +
                ", piece_status=" + piece_status +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPieceid() {
        return pieceid;
    }

    public void setPieceid(String pieceid) {
        this.pieceid = pieceid;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Long getPieceaddtime() {
        return pieceaddtime;
    }

    public void setPieceaddtime(Long pieceaddtime) {
        this.pieceaddtime = pieceaddtime;
    }

    public Long getTagid() {
        return tagid;
    }

    public void setTagid(Long tagid) {
        this.tagid = tagid;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getPieceimg() {
        return pieceimg;
    }

    public void setPieceimg(String pieceimg) {
        this.pieceimg = pieceimg;
    }

    public Integer getSecret() {
        return secret;
    }

    public void setSecret(Integer secret) {
        this.secret = secret;
    }

    public Integer getPieceheight() {
        return pieceheight;
    }

    public void setPieceheight(Integer pieceheight) {
        this.pieceheight = pieceheight;
    }

    public Integer getPiecewidth() {
        return piecewidth;
    }

    public void setPiecewidth(Integer piecewidth) {
        this.piecewidth = piecewidth;
    }

    public Integer getPiecehot() {
        return piecehot;
    }

    public void setPiecehot(Integer piecehot) {
        this.piecehot = piecehot;
    }

    public Integer getPcomments() {
        return pcomments;
    }

    public void setPcomments(Integer pcomments) {
        this.pcomments = pcomments;
    }

    public Integer getPiece_status() {
        return piece_status;
    }

    public void setPiece_status(Integer piece_status) {
        this.piece_status = piece_status;
    }

    public Integer getPieceReport() {
        return pieceReport;
    }

    public void setPieceReport(Integer pieceReport) {
        this.pieceReport = pieceReport;
    }
}
